package com.yhd.mapper;


import com.yhd.entity.TCourseScheduleDetail;
import com.yhd.entity.dto.CourseScheduleDetailDto;
import com.yhd.entity.query.CourseScheduleDetailVO;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface CourseScheduleDetailMapper extends Mapper<TCourseScheduleDetail> {


    /**
     * 查询课程排课时间列表
     * @param courseScheduleDetailVO
     * @return
     */
    List<CourseScheduleDetailDto> selectCourseScheduleList(CourseScheduleDetailVO courseScheduleDetailVO);

    /**
     * 该时间段内是否有其他课程
     * @param courseScheduleDetailVO
     * @return
     */
    int getOldScheduleCount(CourseScheduleDetailVO courseScheduleDetailVO);

}